<?php
/**
 * 库存基本价格表
 * String id
 * String title
 * String short_sku
 * String price【成本价】
 * String cid
 * String b_price【初始市场价】
 */
class App_Model_StockCategoryPrice extends App_Model_Abstract
{
	public function init()
	{
		parent::init();
		$this->table = App_Db_Table::factory('StockCategoryPrice');
	}
	public function getByShortsku($sku)
	{
		$db= $this->table->getAdapter();
		$where = $db->quoteInto('short_sku in (?)',$sku);
		$rows = $this->table->fetchAll($where);
		return $rows;
	}
	

}